<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>用户列表</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="__STATIC__/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="__STATIC__/css/font_eolqem241z66flxr.css" media="all" />
	<link rel="stylesheet" href="__STATIC__/css/news.css" media="all" />
</head>
<body class="childrenBody">
	<blockquote class="layui-elem-quote news_search">
		<div class="layui-inline">
		    <div class="layui-input-inline">
		    	<input type="text" value="" placeholder="请输入关键字" class="layui-input search_input">
		    </div>
		    <a class="layui-btn search_btn">查询</a>
		</div>
		<div class="layui-inline">
			<a class="layui-btn layui-btn-normal newsAdd_btn" href="{:URL('index/acl/addUser')}">添加用户</a>
		</div>

		<div class="layui-inline">
			<a class="layui-btn layui-btn-danger batchDel">批量删除</a>
		</div>
	</blockquote>
	<div class="layui-form news_list">
	  	<table class="layui-table">
		    <colgroup>
				<col width="50">
				<col width="15%">
				<col width="15%">
				<col width="15%">
				<col width="15%">
				<col width="15%">
				<col width="15%">
		    </colgroup>
		    <thead>
				<tr>
					<th><input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose" id="allChoose"></th>
					<th style="text-align:left;">ID</th>
					<th>名字</th>
					<th>创建时间</th>
					<th>登陆时间</th>
					<th>修改时间</th>
					<th>操作</th>
				</tr> 
		    </thead>
		    <tbody class="news_content">
			{foreach $list as $v}
			<tr>
				<td>
					<input type="checkbox" name="checked" lay-skin="primary" lay-filter="choose">
					<div class="layui-unselect layui-form-checkbox" lay-skin="primary"><i class="layui-icon"></i></div>
				</td>
				<td align="left">{$v->admin_id}</td>
				<td>{$v->admin_name}</td>
				<td>{$v->admin_create_time}</td>
				<td>{$v->admin_login_time|date='Y-m-d H:i:s',###}</td>
				<td>{$v->admin_update_time}</td>
				<td>
					<a class="layui-btn layui-btn-mini news_edit" href="{:URL('index/acl/editUser',['id'=>$v->admin_id])}">
					<i class="iconfont icon-edit"></i> 编辑
					</a>
					<a class="layui-btn layui-btn-danger layui-btn-mini news_del" data-id="1">
						<i class="layui-icon"></i> 删除
					</a>
				</td>
			</tr>
			{/foreach}


			</tbody>
		</table>
	</div>
	<div id="page"></div>
	<script type="text/javascript" src="__STATIC__/layui/layui.js"></script>
	<script type="text/javascript" src="__STATIC__/js/news/newsList.js"></script>
</body>
</html>